home *** CD-ROM | disk | FTP | other *** search
/ Pesquisa Dirigida / Pesquisa Dirigida.iso / JOGOS / watch_out.swf / scripts / DefineButton2_66 / BUTTONCONDACTION on(release).as
Text File  |  2005-01-07  |  533b  |  14 lines

  1. on(release){
  2.    if(eval("/:score_done") == "1" and eval("/:hiscore20") < eval("/:score") and eval("/:old_score") != eval("/:score"))
  3.    {
  4.       set("/:old_score",eval("/:score"));
  5.       set("/:hiscore",eval("/:score"));
  6.       if(eval("/:xname") eq "Name Here")
  7.       {
  8.          set("/:xname","flashgamestudio");
  9.       }
  10.       loadVariables("/scores.php?action=sendscore&game=" add eval("/:game") add "&hiscore=" add eval("/:hiscore") add "&xname=" add eval("/:xname"),"_level" add "0","POST");
  11.    }
  12.    _visible = "0";
  13. }
  14.